package com.app.repository.interfaces;

import com.app.model.main.DeviceToken;

import java.util.List;

public interface DeviceTokenMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DeviceToken record);

    int insertSelective(DeviceToken record);

    DeviceToken selectByPrimaryKey(Long id);

    DeviceToken selectByUserId(Long userId);

    List<DeviceToken> getAllDeviceToken();

    int updateByPrimaryKeySelective(DeviceToken record);

    int updateByPrimaryKey(DeviceToken record);
}